<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated 22 mars 2013 20:46:38 by Hibernate Tools 3.2.1.GA -->
<hibernate-mapping>
    <class name="donnees.modele.Film" table="FILM" schema="P1100305">
        <id name="id" type="string">
            <column name="ID" length="5" />
            <generator class="assigned" />
        </id>
        <many-to-one name="jury" class="donnees.modele.Jury" fetch="select" lazy="false">
            <column name="CATEGORIE" length="5" />
        </many-to-one>
        <many-to-one name="producteur" class="donnees.modele.Producteur" fetch="select" lazy="false">
            <column name="PRO_ID" length="5" />
        </many-to-one>
        <property name="titre" type="string">
            <column name="TITRE" length="254" />
        </property>
        <property name="anneeproduction" type="string">
            <column name="ANNEEPRODUCTION" length="4" />
        </property>
        <property name="synopsis" type="string">
            <column name="SYNOPSIS" length="254" />
        </property>
        <property name="reaId" type="string">
            <column name="REA_ID" length="5" />
        </property>
        <set name="projections" inverse="true">
            <key>
                <column name="FIL_ID" length="5" />
            </key>
            <one-to-many class="donnees.modele.Projection" />
        </set>
    </class>
</hibernate-mapping>
